Modified window positioning