Fixed the resize function call to use the correct API for kinteic.