modify cursor to pointer when hovering rect