fix package version check
fix animation when activating minimized window