Fixed bad condition in Cursor.draw
Added support for cursor sprite animation