Revert "Prevent division by 0 by bailing early"

This reverts commit 5bb0f14f70. For some reason, this
commit causes some dashboard failures on Mac OS X 10.8:
crash when setting the cursor. It is not clear why but
we are temporarily reverting this commit to verify that
this fixes the problem.

Change-Id: I027af718fa0e441aa6d688a29978dcd2d9576710
Merge topic 'revert-commit-to-fix-dashboard' into master

feaf55f2 Revert "Prevent division by 0 by bailing early"