Improve the monster map detection