MogHunter's ABS: Teleport Random Issue

So I'm using Moghunter's Chrono Engine, using the ABS mode. I've created a boss that teleports randomly around the map after using a skill, but the script call ( this.teleportRandom (4) ) being used allows for it to teleport outside of the map and offscreen. Is there a way I can restrict its movement to a certain area of the map at all?

Thank you in advance! 👋
Bump!
Bumpedybump!

Original thread: https://forums.rpgmakerweb.com/threads/moghunters-abs-teleport-random-issue.93357/