fixed getInstance on fullscreen api

getinstance method didn't return anything