Fixes CanvasFrame Bug in mac os

Problem description here:https://github.com/bytedeco/javacv/issues/39
Fixes CanvasFrame not display pictures of BUG in MAC OS environment and java 1.7.0+