Minor fixes to x and y bounds