Fixed GetFeatureInfo behaviour to prevent errors when clicks over a WMS layer without cached style