2d shader and mipmap fixes to get pixel perfect images