Bugfix for search field and for rotation.