fixed ruby 1.9 compatibility/bug reading focal len