Implements stage scale and align attributes.