Fixed renderbug