add asset max wxh and max texture tests, fix position clamp for single frame assets