fixed sdl argument int32 -> uint32. Fixed nil dereference