Fix for damage overlays.

Fixes #263.