Create a custom script for Epiphany to handle window activation and deactivation better