Using mouse motion instead of getmousestate to report x and y
Adding camera width and height support