Slight change to how transparent pixels are handled
Make sure pixel side is valid (even)