Scala 3 end method name statement not renamed

While renaming Scala methods, the part after "end" clause is not renamed. Example:

private def createUserPane() = new StackPane 
end createUserPane

If I'd rename createUserPane (Shift+F6) to createPane, Idean renames it and any other references where it is called as far as I've experienced, but it misses the renaming in the end method part (end createUserPane), which results in errors because the code would look like this:

private def createPane() = new StackPane
end createUserPane // this is NOT renamed using Shift+F6, resulting in errors because of wrong reference