This might be due to differences with how webkit handles animations but I'm not entirely sure since this doesn't happen on Chrome
Here is a very low quality gif of what I mean:

The door icon is also missing afterwards for some reason, scrolling and interacting still works albeit with the shadow still on screen, refreshing fixes it