frame: fix NPE if mouse moved on overlay label (fixes #44)

(cherry picked from commit a6b572f884e4c45dc5dc90b9c74ba83eede6838f)