Thanks for playing I didn't know about a spot in the top right I knew about another spot but i was so small and didn't always work he only way i could think of to have gotten rid of it would have messed up some other things.
I'm unsure how your engine works, but the best way I can think of is either a collision box that prevents the player from getting up in the corner, but the enemies can still move back and fourth, OR have the top of the screen shove the player back a bit if they get too close.