update sprite draw for earlier jython releases
update sprite draw for performance