fix issues with 1024x786 layout