Fixed bug in inRect