fixed issue with enemies being placed in invalid tiles