Fix error in importing keyframes from clipboard

Related to #554
1 job for master in 18 minutes and 6 seconds (queued for 23 minutes and 44 seconds)
Status Job ID Name Coverage
  Build
passed #31666
linux kf5-qt5 qt5.12

00:18:06

20.0%