Changed the namespace of LinearDirection and added an updateimage source to reset