Bug 998111 - Fix race condition while starting and stopping tilted UI. r=gweng