Fixing previous commit for SDL backend