Possible fix for mouse cursor persisting

This is the only thing I can see that may cause the mouse cursor to not
get hidden when closing the MotD.