Fix linker error due to excessive onRotationChanged slot