It is true that young males view themselves as modders/hackers in a way that many young females do not. Many reasons for this exist, but the answer can surely only lie in educating this age group to think differently. I don't hold out much hope that Hollywood will respond with a gender volte face.
As far as I know there is no lack of female hackers in movies nor of creative girls and women in real life. Take the electronics/maker scene. Even though there is even less women in EE/ME than software (which is quite the feat in itself) I can think of at least half a dozen public women in what little scene there is. Software culture is much more subjective and largely based on things that doesn't exists anymore. And even if it did it would to a large extent have been created by and for men. If we want more women in software culture it has to be about making cool things and not about fitting into stereotypes.