I changed some settings in compiz and now the new windows are placed too high and behind the panel. The settings that I changed were disabling the visual effects only. it is really annoying to always drag the windows down. There is a similar question though but no real answer is given.
The same problem also exists with the wallpaper. It is placed behind the panel and you can not see that part of image.