Adds sprite functionality (fancy surface handling).