Fix rendering speed issue reported from bug #2099 by reverting the use of clipping to render the window frame. Also revert the change for restack as I got some issues with the compositor being lost with actual window stack. (Old svn revision: 22814)