Fixed issue with markers not animating smoothly when the position of the plot area is changes. Closes #1436.