@keyframes fixed. Closes #1311