Prevent crash on unexpected behavior
BUGME Add CalculateResolution API to AZPC
Added touch events implementation to embedding