Fixed trivial debug-related maximum texture size bug.