Fixed indexerror bug which happened when mouse pointer was over a blank region of...