Fixed Linux resize and scrolling  issues.