Fix moving text issue
Convert backgroundgenerator to Coffeescript