Attempt to fix rendering glitch