Fixed bug where layered transforms jump out of position when performed in front of the first key with  a valid transform of the same type