Fix input alignment and dimensions