When using dual monitors, some software maximize only into the primary display?

view story

http://askubuntu.com – When using multiple displays in Ubuntu, If I try to maximize some applications while in the secondary display, the application will move to the primary display and then maximize. I just checked whether only the apps executed in the secondary display can be maximized in it. But its not true. First when I opened Gedit in the primary display, I took it to the other display and maximized. It went back to the primary display. Then I again opened a new Gedit and tried to do the same thing. Now it maximized in the secondary display. Why is this happening? How to fix it? PS : Apps like Chrome are al (HowTos)