fixed pixel rendering on pi