[ALOY-1103] <headerview formFactor="handheld"> not working and throwing an error

For https://jira.appcelerator.org/browse/ALOY-1103