Fixing minor bug introduced in prior checkin. It would work fine on actual device but did weird things on the simulator. Now it works fine on both.