Changed to use transforms instead of frame offsetting