Fixed references of isMouseInRect method.