small rendering optims
small optimisations