apply global cursor on panel resize