fixed some transform issues so we can scale sine-displaced mesh freely