Made it check with the player's dimension before removing.