Fix generated shortcut elements
Make action sheet work with element directive