fix flickering game menu when opening via mouseclick in linux.