Refs #13. Don't crash when unable to create pixel buffer.