In my application, I want to know what kind of cursor is displayed (default, move, resize, etc..). For this I am using the getCursor method, which works fine in all cases