Tried to fix rendering bug, but no success.