Fixed type convertion (maybe introduced by SFML 2.1 upgrade...)