sprite helper improvements