Better resizing, focus window when using mouse actions on it