Fix constant GC runs during camera preview (related to issue #40)