fixes for raspberry pi rendering