Minor optimization to not store unneeded variables for all animation operations
Fixed a bug in relative positioning and pointers