setting position properly on room change