Speed up rendering in some cases