Implemented bitmap hit test for image buttons