Fix infinite stepping and restore textures.