I was using your OSD.xml and the issue seems to be related to that file. Changing the fullscreen button to: <osd name="my_fullscreen_status" enabled="yes" type="button" x="0" y="-156" src="gui_fullscreen_96_96.png" command='gui.fullscreen=!gui.fullscreen' /> solves the issue.