fix for fullscreen mode

Signed-off-by: Roman Gille <developer@romangille.com>