fixed window manipulation in content mode bug: