Raising a ticket and posting this patch for it would be best way to ensure this is included in future versions of openlayers. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.