Replicate pygame behavior in image.get_extended and Joystick.init.