fixed typo causing issue with mouse detection
Seg fault when trying to read from the bitmap. Strage. Will have to debug more