Fix for drawing lags on OS X Mavericks; thanks to Ned Deily for report and Daniel Steffen for patch
Fix [3603436fff]: png save has wrong  component indexes
Fix [3603436fff]: png save has wrong  component indexes