Merge pull request #186 from ping19/master

Background direction correction