fixed null pointer in targeting window when targetting a square without monster