Move Alignment from Transform2D class into Image class. Doesn't make much sense to be aligned for most classes, like LineShape or Text.
InputDevice fix up.