Fixed issue with updating shadow positions on bubbles. Closes #1977.